﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DTO
{
	[DataContract]
	public class Products {
		public const String c_id = "id";
		private Int64 m_id;
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_categoryId = "categoryId";
		private Int64 m_categoryId;
		[DataMember]
		public Int64  categoryId { 
			 get {return m_categoryId;} 
			 set { m_categoryId = value; } 
		}

		public const String c_productName = "productName";
		private String m_productName;
		[DataMember]
		public String  productName { 
			 get {return m_productName;} 
			 set { m_productName = value; } 
		}

		public const String c_description = "description";
		private String m_description;
		[DataMember]
		public String  description { 
			 get {return m_description;} 
			 set { m_description = value; } 
		}

		public const String c_create_on = "create_on";
		private DateTime m_create_on;
		[DataMember]
		public DateTime  create_on { 
			 get {return m_create_on;} 
			 set { m_create_on = value; } 
		}

		public const String c_price = "price";
		private Decimal m_price;
		[DataMember]
		public Decimal  price { 
			 get {return m_price;} 
			 set { m_price = value; } 
		}

		public const String c_updatePriceLast = "updatePriceLast";
		private Decimal m_updatePriceLast;
		[DataMember]
		public Decimal  updatePriceLast { 
			 get {return m_updatePriceLast;} 
			 set { m_updatePriceLast = value; } 
		}

		public const String c_pathImage = "pathImage";
		private String m_pathImage;
		[DataMember]
		public String  pathImage { 
			 get {return m_pathImage;} 
			 set { m_pathImage = value; } 
		}

		public const String c_isActive = "isActive";
		private Int32 m_isActive;
		[DataMember]
		public Int32  isActive { 
			 get {return m_isActive;} 
			 set { m_isActive = value; } 
		}

		public const String b_Products = "Products";

	}

 }
